package com.union.vehicleassistant.common;

public interface Constant {
    String RSA_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAryHxU2a3qu0mISem1k+0QItIkCe9wVHQAKIQDGX7VIcQxjHh7N+/47NIw1ikCnSFDcnebZjePH30HFzZT6qZU+dRSHZfW0sEdY536Q+NbWV7FfLI5iFlNACKu4S4vTq+I/rDWFJ3mjqxmJMrtC1w1kz66EafALekp1gjpTO12GnQokEPrBDGCFsewuCHy233CZr0+n+2vVwhgC0wnA64iQXb22FsFYk/4aRUj4ICc733wNpIn+SD2NyhU5OHHSpVeoEtrVIYS3HL3F/qmGXvIiDc7wZzvqVtYuco4iOlSHZZPTgGnsxC2L/ISCd++8oSXmZNLHarArtx5FXAyr9r8QIDAQAB";

    String CHAR_COMMA = ",";
    String CHAR_SPOT = ".";
    String CHAR_SEMICOLON = ";";
    String CHAR_BIAS = "/";
    String CHAR_PROTOCOL = "http";

    /* busUtils post 事件tag   start*/
    String BUS_KEY_BLE_FAIL = "BUS_KEY_BLE_FAIL";
    String BUS_KEY_BLE_SUCCESS = "BUS_KEY_BLE_SUCCESS";
    String BUS_KEY_BLE_DISCONNECT = "BUS_KEY_BLE_DISCONNECT";
    String BUS_KEY_BLE_NO_BLE = "BUS_KEY_BLE_NO_BLE";

    String BUS_MODE_CHANGE = "BUS_MODE_CHANGE";
    String BUS_UNIT_CHANGE = "BUS_UNIT_CHANGE";
    String BUS_CONNECT_BLUETOOTH = "BUS_CONNECT_BLUETOOTH";
    /* busUtils post 事件tag   end*/

    // 读取左侧通道数据
    byte[] BLE_DEVICE_READ_DATA_LEFT_CODE = {0x02, 0x03, 0x00, 0x01, 0x00, 0x01, 0x45, 0x68};
    //读取右侧通道数据
    byte[] BLE_DEVICE_READ_DATA_RIGHT_CODE = {0x02, 0x03, 0x00, 0x02, 0x00, 0x01, 0x45, 0x68};

    // 读取数据指令-授权码（暂时没有开启）
    byte[] BLE_DEVICE_AUTH_DATA_CODE = {0x02, 0x06, 0x00, 0x01, 0x00, 0x00, (byte) 0x84, 0x0A};
//    02 06 00 01 00 00 D8 0A
//    00 03 00 01 01 078c 48 9a
//    02 06 00 01 00 00 D8 0A

    double UNIT_RATIO = 0.068965;

}
